<ons-page ng-controller="&LFobjectname&ItemController" class="&LFobjectname&main ItemPage" ID="&LFobjectname&ItemPage">
    <ons-navigator ons-postpush="ItemReadOnlyFun()" var="&LFobjectname&ItemNavigator"  animation="none">
        <ons-tabbar class="mytabbutton">
            <ons-tab page="&LFobjectname&main" active="true" style="display:none;"></ons-tab>
			   <ons-tab alertmsg="你确定要删除该记录吗？" ng-confirm-click="!ItemPageIsReadOnly&&delete&objectname&()"
                         ng-disabled="&LFobjectname&Item.dataOperationType=='new'"
                         class="mytabbuttontab" style="width:20%;" label="删除" icon="ion-ios-trash-outline"></ons-tab>
						 
            <ons-tab ng-confirm-click="!ItemPageIsReadOnly&&commit&LFobjectname&()" class="mytabbuttontab" style="width:25%;" label="提交"
                 
                     icon="ion-paper-airplane"></ons-tab>
         
          
            <ons-tab ng-click="!ItemPageIsReadOnly&&insertOrUpdate&LFobjectname&()" class="mytabbuttontab nob&LFobjectname& bluebutton" style="width:50%;"
                  
                     label="保存"></ons-tab>
        </ons-tabbar>
        <ons-template id="&LFobjectname&main" >
            <ons-toolbar class="toolbar">
                <div class="left" ng-click="backTo&LFobjectname&List()">
                    <ons-toolbar-button>
                        <ons-icon icon="ion-chevron-left" fixed-width="false" size="25px" style="vertical-align: -4px"
                                  class="currentmaincolor"></ons-icon>
                    </ons-toolbar-button>
                </div>
                <div class="center">详情</div>
                <div class="right">
                    <ons-toolbar-button ng-click="goto&LFobjectname&FlowUp()" ng-disabled="&LFobjectname&Item.id==null">
                        变更历史
                    </ons-toolbar-button>
                    <ons-toolbar-button ng-click="showMenuPopover('#menuPopover')">
                        <ons-icon
                                id="menuPopover"
                                icon="ion-share"
                                fixed-width="false" size="25px"
                                style="vertical-align: -4px;color:white;"
                        >
                        </ons-icon>
                    </ons-toolbar-button>
                </div>
            </ons-toolbar>
          
         
            <ons-list>
                <ons-list-header class="ons_list_header" >基本信息
                </ons-list-header>
            
             &htmlField&
				
            </ons-list>
           
            <blank/>
          
        </ons-template>
    </ons-navigator>
</ons-page>
